package intf

import (
	"gitee.com/ljfirst/algo-go-sdk/src/data_structure/list"
	"gitee.com/ljfirst/algo-go-sdk/src/data_structure/tree/binary_tree/bt2array"
)

/**
 * @author ljfirst
 * @version V1.0
 * @date 2023/6/26 08:25
 * @author-Email ljfirst@mail.ustc.edu.cn
 * @blogURL https://blog.csdn.net/ljfirst
 * @description
 * */
type TreeINTF interface {
}

type BT2ArrayINFT interface {
	Method(*list.Node) []int
}

type Array2BTINFT interface {
	Method([]int) *list.Node
}

var BTAssemble = map[string][]interface{}{
	"bt2array": {
		&bt2array.PreOrderByRecursion{},
		&bt2array.PreOrderByStack{},
		&bt2array.PreOrderByStack2{},
		&bt2array.InOrderByRecursion{},
		&bt2array.InOrderByStack{},
		&bt2array.PostOrderByRecursion{},
		&bt2array.PostOrderByDoubleStack{},
	},
	"array2bt": {},
}
